<div class="cat_page">
  <?php echo $this->element('Store_leftsidebar'); ?>
  <div class="cat_page_right f_left">
  
  
    <div class="seller_info_view">
      <div class="width_75 f_left"><h2><?php echo $seller['Seller']['bs_dis_name']; ?></h2>
      
      <span><b>Feedback Rating : </b>&nbsp;&nbsp;</span>
      <div class="rating_3 f_left"></div>
      <div class="def_div f_left"><span><b>4.9</b> stars over the past 12 months (<b> 671</b> ratings) </span></div>
      <div class="def_div f_left">
          <span>
			  <?php 
				  echo $html->link('Detailed Seller Information', 
				  array('controller'=>'sellers', 'action'=>'sellerinfo', $seller['Seller']['merchant_token']), 
				  array('class'=>'brown_link')); 
			  ?>
          </span>
      </div>
      <div class="def_div f_left"><span>
	  <?php 
          echo $html->link($seller['Seller']['bs_dis_name'].'Storefront', 
          array('controller'=>'sellers', 'action'=>'store', $seller['Seller']['merchant_token']), 
          array('class'=>'brown_link')); 
      ?>
    </span></div>
    </div>
    <div class="width_20 f_right"><?php echo $html->image('Seller/'.$seller['Seller']['id'].'/'.$seller['Seller']['logo'], array('height'=>'140', 'width'=>'140')); ?></div>
    
    </div>
    
    
    <div class="seller_right_dec" style=" background:#FFF8F0;">
              <h2>Write a Feedback about Seller</h2>
              <div class="width_79 f_left">
                <div class="acc_form_1">Title :</div>
                <div class="acc_form_2"> <div class="input text"><input type="text" id="ProductReviewTitle" value="" name="data[ProductReview][title]"></div> </div>
              </div>
              <div class="width_79 f_left">
                <div class="acc_form_1">Rating :</div>
                <div class="acc_form_2" style=" padding-top:10px;">
                  <div class="right_full_blue_matt_20">
                    <input id="Radio10" type="radio"  value="1" class="star" name="data[ProductReview][rating]"/>
                    <input id="Radio20" type="radio" value="2" class="star" name="data[ProductReview][rating]"/>
                    <input id="Radio30" type="radio" value="3" class="star" name="data[ProductReview][rating]"/>
                    <input id="Radio40" type="radio" value="4" class="star" name="data[ProductReview][rating]"/>
                    <input id="Radio50" type="radio" value="5" class="star" name="data[ProductReview][rating]" />
                  </div>
                </div>
              </div>
              <div class="width_79 f_left">
                <div class="acc_form_1">Description :</div>
                <div class="acc_form_2">
                  <div class="input teatarea"><textarea id="ProductReviewReview" class="mws-textinput" cols="44" rows="5" name="data[ProductReview][review]"></textarea></div>                  <span class="gray_comment">The name displayed to buyers on wonderE</span> </div>
              </div>
              <div class="width_79 f_left">
                <div class="acc_form_1">&nbsp;</div>
                <div class="acc_form_2">
                  <input type="submit" class="sea_btn" value="Submit" name="">
                </div>
              </div>
            </div>
    
    
    <div class="paging_gray">
      <p><b>Search for other products from this seller :</b></p>
      <span class="f_left">
      <input type="text" class="input_ser" name="">
      </span> </div>
    <div class="item_list_show">
      <h2>Consider these other items from <?php echo $seller['Seller']['bs_dis_name']; ?>:</h2>
      <?php
	  		if(isset($products) and ($products) and sizeof($products))

				{
					$x =1;
	  ?>
				  <div class="def_div f_left">
					<div class="common_border1"></div>
					<?php
					foreach($products as $product)
						{
					?>
                            <div class="item_list_B">
                              <ul>
                                <li>
                                  <p><?php $x; ?>.</p>
                                </li>
                                <li>
                                 <?php 
									 echo $html->link($html->image('Product/'.$product['Product']['img'], 
									 array('width'=>'160', 'height'=>'160')), array('controller'=>'products', 'action'=>'product', 
									 $product['Product']['slug']), array('escape'=>false));
								?>
                                </li>
                                <li><span><?php echo $html->link($product['Product']['name'], array('controller'=>'products', 'action'=>'product', $product['Product']['slug']), array('escape'=>false));?></span></li>
                                <li>
                                  <p><b>Msrp Prices: <span class="over_line">$<?php echo $product['Product']['msrp']; ?></span></b></p>
                                </li>
                                <li>
                                  <p>
                                  	<b>Prices :</b> 
                                 	<span class="red">$<?php echo $product['Product']['MasterProduct']['price']; ?></span>
                                  </p>
                                </li>
                                <li>
                                  <p>
                                     <b>You save :</b>
     <span class="red">
               
				<?php 
					 __catculate_saving($product['Product']['msrp'], $product['Product']['MasterProduct']['price']);
				?>  
     </span>
                                  </p>
                                </li>
                              </ul>
                            </div>
					<?php
							if(($x%3)==0)
								{
									echo '<div class="common_border1"></div>';
								}
						$x++;
						}
					?>
					
				  </div>
	 <?php
				}
	 ?> 
      
      
    </div>
    <div class="paging_gray">
      <p>Showing 1 - 24 of 5,514 Results</p>
      <span class="f_right">
      <select>
        <option>1</option>
      </select>
      <label> Sort By</label>
      </span> </div>
  </div>
</div>
